*% Copyright 1996 - 2004, Hewlett-Packard Co.
*% All Rights Reserved.

*%-------------------------------------------------------------------------
*% Version Section
*%-------------------------------------------------------------------------
*GPDFileName: "hpmcpap6.gpd"
*GPDSpecVersion: "1.0"
*GPDFileVersion: "051.174100"

*%-------------------------------------------------------------------------
*% Include Section
*%-------------------------------------------------------------------------
*Include: "stdnames.gpd"
*Include: "pclxl.gpd"
*Include: "pjl.gpd"

*Feature: RESDLL
{
    *Name: "resource dll files"

    *Option: STRRESSEC
    {
        *Name: "hpzstwn7.dll"       *% Get this from the required phase
    }
        *Option: FONTRES
    {
        *Name: "pclxl.dll"          *% MS provided resource DLL
    }
}
*Include: "hpzsmwn7.gpd"
*Include: "hpz6mwn7.gpd"
*%-------------------------------------------------------------------------
*% Model Name Section
*%-------------------------------------------------------------------------
*ModelName: "HP Color LaserJet UPD PCL 6"

*MasterUnits: PAIR(1200, 1200)

*PrintRate: 22
*PrintRateUnit: PPM
*PrintRatePPM: 22

*PrinterType: PAGE
*Personality: "PCLXL"                   *%=PERSONALITY_PCLXL
*MaxCopies: 9999                        *% Refer to product specs 

*FontCartSlots: 0
*TTFSEnabled?: TRUE
*DeviceFonts: =UniversFont
*DefaultFont: =FONT_UNIVERSR

*TTFS: CourierNew
{
  *TTFontName: "Courier New"
  *DevFontName: "Courier"
}
*MinGlyphID: 1
*MaxGlyphID: 6000


*%------------------------------------------------------------------------
*% DOC_PROP Standard features section
*%-------------------------------------------------------------------------
*Feature: Resolution
{
    *rcNameID: =IDS_RESOLUTION_DISPLAY
    *DefaultOption: 600dpi

    *Option: 600dpi
    {   
        *rcNameID: =IDS_600DPI
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *MinStripBlankPixels: 32
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
        *SpotDiameter: 100

        *Command: CmdBeginRaster
        {
            *Cmd : =PCLXL_CmdBeginRaster
        }

        *Command: CmdSendBlockData
        {
            *Cmd: =PCLXL_CmdSendBlockData
        }

        *Command: CmdEndRaster
        {
            *Cmd : =EndImage
        }

        *Command: CmdSelect
        {
            *Order: JOB_SETUP.190
            *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_Protocol2Comment =PCLXL_BeginSession600 =PCLXL_OpenDataSource
        }
	}
}

*%------------------------------------------------------------------------
*% Feature: Orientation : TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*Feature: Orientation
{
    *rcNameID: =IDS_ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
   
    *Option: PORTRAIT
    {
        *rcNameID: =IDS_PORTRAIT_DISPLAY
        *switch: HPOrientRotate180
        {
            *case: False
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.1
                    *%Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
                    *CallbackID:2
                }
            }
            *case: True
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.1
                    *%Cmd: =ubyte =eReversePortrait =attr_ubyte =Orientation
                    *CallbackID:2
                }
            }
        }
    }

    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =IDS_LANDSCAPE_DISPLAY
        *switch: HPOrientRotate180
        {
            *case: False
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.1
                    *%Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
                    *CallbackID:2
                }
            }
            *case: True
            {
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.1
                    *%Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
                    *CallbackID:2
                }
            }
        }
    }
}

*%------------------------------------------------------------------------
*% Feature: HPOrientRotate180 : TVCF (TV Managed Custom Feature)
*%------------------------------------------------------------------------
*Feature: HPOrientRotate180
{     
    *rcNameID: =IDS_ORIENT_ROTATE_180
    *HelpIndex: =IDH_UNIDRV_PRINT_ROTATED
    *DefaultOption: False
    
    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
    }
}

*%------------------------------------------------------------------------
*% Feature: Duplex : TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*% The Duplex commands for PCL6 drivers were sent as PJL commands.
*% But this limited the per page duplexing capability. 
*% So from Q404 time frame onwards we are using per page duplex PDL commands.
*%------------------------------------------------------------------------
*Feature: Duplex
{
    *rcNameID: =IDS_TWO_SIDED_PRINTING_DISPLAY
    *HelpIndex: =IDH_UNIDRV_PRINT_ON_BOTH_SIDES_AUTO 
    *ConflictPriority: 4
    *DefaultOption: NONE
    
    *Option: NONE
    {
        *rcNameID: =IDS_NONE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.80
            *Cmd: "@PJL SET DUPLEX=OFF<0A>"
        }
    }
    *Option: VERTICAL
    {
        *rcNameID: =IDS_FLIP_ON_LONG_EDGE_STANDARD
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.80
            *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
        }
    }
    *Option: HORIZONTAL
    {
        *rcNameID: =IDS_FLIP_ON_SHORT_EDGE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.80
            *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
        }
    }
}


*%------------------------------------------------------------------------
*% Feature: PaperSize : TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *HelpIndex: =IDH_UNIDRV_PAPER_SIZE
    *DefaultOption: LETTER
    *ConflictPriority: 1

    *Option: LETTER                                 *% physical page (10200, 13200 - 8.5" x 11.0")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            { 
                *PrintableArea: PAIR(9632, 12800)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9632, 12800)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 13000)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }
    
    *Option: LEGAL                                  *% physical page (10200, 16800 - 8.5" x 14.0"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9800, 16400)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9800, 16400)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 16600)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }
    
    *Option: EXECUTIVE                              *% physical page (8700, 12600 - 7.25" x 10.5"))
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8300, 12200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8300, 12200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 12400)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: A4                                      *% physical page (9920, 14030 - 8.2677" x 11.693")
    {                                                
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9520, 13558)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 236)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9520, 13558)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 13794)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: ENV_10                                 *% physical page (4948, 11400 - 4.125" x 9.5"))
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints


        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4548, 11000)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4548, 11000)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 11200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: ENV_DL                                 *% physical page (5196, 10392 - 4.3307" x 8.6614")
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4796, 9992)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4796, 9992)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 10192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: ENV_MONARCH                            *% physical page (4648, 9000 - 3.875" x 7.50")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4248, 8600)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4248, 8600)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 8800)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: ENV_B5                                 *% physical page (8314, 11810 - 6.9291" x 9.8425"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7914, 11338)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 236)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7914, 11338)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 11574)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: A5                                      *% physical page (6992, 9920 - 5.8268" x 8.2677")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6592, 9520)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592, 9520)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 9720)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: B5                                      *% B5 (JIS) physical page (8598, 12140 - 7.1653" x 10.118")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8126, 11740)
                *PrintableOrigin: PAIR(236, 200)
                *CursorOrigin: PAIR(236, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8126, 11740)
                *PrintableOrigin: PAIR(236, 200)
                *CursorOrigin: PAIR(236, 11940)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: ENV_C5                                 *% physical page (7652, 10818 - 6.3779" x 9.0157"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7252, 10346)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 236)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7252, 10346)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 10582)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option:16K                                      *% physical page (9300, 12900 - 7.75" x 10.75")
    {
       *rcNameID: =IDS_16K_DISPLAY
       *PageDimensions: PAIR(9300,12900)
       *switch: Orientation
       {
           *case: PORTRAIT
           {
               *PrintableArea: PAIR(8900,12500)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 200)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =s16kPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin   
                }
           }
           *case: LANDSCAPE_CC90
           {
               *PrintableArea: PAIR(8900, 12500)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 12700)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =s16kPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
           }
       }
    }

    *Option:EXECUTIVE_JIS                             *% physical page (10202, 15588 - 8.5039" x 12.992"))
    {
        *rcNameID: =IDS_EXECUTIVE_JIS
        *PageDimensions: PAIR(10200,15588)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9730, 15190)
                *PrintableOrigin: PAIR(236, 200)
                *CursorOrigin: PAIR(236, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sJisExecPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9730, 15190)
                *PrintableOrigin: PAIR(236, 200)
                *CursorOrigin: PAIR(236, 15390)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sJisExecPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: B5_ISO                                               *% B5 (ISO)   6.93" x 9.84"
    {
        *rcNameID: =IDS_B5_DISPLAY
        *PageDimensions: PAIR(8312, 11808)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7912, 11408)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sB5ISOPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                 }
             }
             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(7912, 11408)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 11608)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sB5ISOPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                 }
             }
        }
    }

    *Option: DBL_JAPANESE_POSTCARD_ROTATED          *% physical page (6992, 9448 - 5.8268" x 7.874")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6592,9048)
                *PrintableOrigin: PAIR(200, 200)
                
                *CursorOrigin: PAIR(200, 200)  
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sJDoublePostcard =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592,9048)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 9248)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sJDoublePostcard =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *%  Addition of Wide Paper Sizes ends here

    *Option: CUSTOMSIZE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *MinSize: PAIR(3600, 6000)                      *% min page (3" x 5")
        *MaxSize: PAIR(14040, 21240)                    *% max page (11.7"x 17.7")
        *MaxPrintableWidth: 14040
        *MinLeftMargin: 100
        *CenterPrintable?: FALSE
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *CustCursorOriginX: %d{200}
                *CustCursorOriginY: %d{200 }
                *CustPrintableOriginX: %d{200}
                *CustPrintableOriginY: %d{200}
                *CustPrintableSizeX: %d{PhysPaperWidth - 400}
                *CustPrintableSizeY: %d{PhysPaperLength - 400}

                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =uint16_xy %l{(PhysPaperWidth*254)/1200}%l{(PhysPaperLength*254)/1200} =attr_ubyte =CustomMediaSize
+                         =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
            *case: LANDSCAPE_CC90
            {

                *CustCursorOriginX: %d{200}
                *CustCursorOriginY: %d{PhysPaperLength + 200}
                *CustPrintableOriginX: %d{200}
                *CustPrintableOriginY: %d{200}
                *CustPrintableSizeX: %d{PhysPaperWidth - 400}
                *CustPrintableSizeY: %d{PhysPaperLength - 400}

                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =uint16_xy %l{(PhysPaperWidth*254)/1200}%l{(PhysPaperLength*254)/1200} =attr_ubyte =CustomMediaSize
+                         =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *%  Unsupported Papers for Allow Scaling From Larger Paper (Virtual Paper Sizes)
    *%  No commands are associated with these
    *%  The paper sizes for this printer are A3, B4 (JIS), 8K and 11x17

    *Option: A3                                     *% physical page (14030, 19842 - 11.693" x 16.535")
    {
         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
         *switch: Orientation
         {
             *case: PORTRAIT
             {
                 *PrintableArea: PAIR(13462, 19442)
                 *PrintableOrigin: PAIR(284, 200)
                 *CursorOrigin: PAIR(284, 200)
                 *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }

             }
             *case: LANDSCAPE_CC90
             {
                 *PrintableArea: PAIR(13630, 19370)
                 *PrintableOrigin: PAIR(200, 236)
                 *CursorOrigin: PAIR(200, 19606)
                  *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
             }
         }
    }

    *Option: B4                                      *% B4 (JIS) physical page (12140, 17196 - 10.118" x 14.33")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(11572, 16796)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }

            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(11740, 16724)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 16960)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin

	        }
            }
        }
    }

    *Option:8K                                      *% physical page (12900, 18600 - 10.75" x 15.50")
    {
        *rcNameID: =IDS_8K
        *PageDimensions: PAIR(12900,18600)

        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12300, 18200)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                 *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =s16kPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin   
                }
            }

            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12500, 18120)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 18360)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =s16kPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }
            }
        }
    }

    *Option: 11X17                                   *% physical page (13200, 20400 - 11.00" x 17.00")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12600, 20000)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }

            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12800, 19920)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 20160)
                 *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *Cmd: =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
+                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
                }

            }
        }
    }
    
}

*%------------Mystique Inserted 2-23-05--------Begin----------------------
*%------------------------------------------------------------------------
*% Feature: InputBin: TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*Feature: InputBin
{
    *rcNameID: =IDS_PAPER_SOURCE
    *HelpIndex: =IDH_UNIDRV_FIRST_PAGE_SOURCE_IS
    *ConflictPriority: 3
    *DefaultOption: PrinterSelect

    *Option: PrinterSelect
    {
        *rcNameID: =IDS_PRINTER_AUTO_SELECT
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.10
            *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
        }
    }
    *Option: ManualFeed
    {
        *rcNameID: =IDS_MANUAL_FEED_IN_TRAY1
        *OptionID: 258
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
        }
    }

    *Option: Tray1
    {
        *rcNameID: =IDS_TRAY1
        *OptionID: 259
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource
        }
    }

    *Option: Tray2
    {
        *rcNameID: =IDS_TRAY2
        *OptionID: 260
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
        }
    }

    *Option: Tray3
    {
        *rcNameID: =IDS_TRAY3
        *OptionID: 261
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
        }
    }

    *Option: Tray4
    {
        *rcNameID: =IDS_TRAY4
        *OptionID: 262
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *Cmd: =ubyte =eThirdCassette =attr_ubyte =MediaSource
        }
    }

}

*%------------Mystique Inserted 2-23-05--------End------------------------

*%------------------------------------------------------------------------
*% Feature: MediaType: TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*Feature: MediaType
{
    *rcNameID: =IDS_MEDIA_TYPE_DISPLAY
    *HelpIndex: =IDH_UNIDRV_FIRST_PAGE_TYPE_IS
    *ConflictPriority: 2
    *DefaultOption: Auto

    
    *Option: Auto
    {
        *rcNameID: =IDS_UNSPECIFIED
    }

    *Option: PLAIN
    {
        *rcNameID: =IDS_PLAIN_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0500>" =ePlain =attr_ubyte =MediaType
        }
    }

    *Option: PREPRINTED
    {
        *rcNameID: =IDS_PREPRINTED_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0a00>" =ePreprinted =attr_ubyte =MediaType
        }
    }

    *Option: LETTERHEAD
    {
        *rcNameID: =IDS_LETTERHEAD_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0a00>" =eLetterhead =attr_ubyte =MediaType
        }
    }

    *Option: TRANSPARENCY
    {
        *rcNameID: =IDS_TRANSPARENCY_DISPLAY
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0c00>" =eTransparency =attr_ubyte =MediaType
        }
    }

    *Option: PREPUNCHED
    {
        *rcNameID: =IDS_PREPUNCHED_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0a00>" =ePrepunched =attr_ubyte =MediaType
        }
    }

    *Option: LABELS
    {
        *rcNameID: =IDS_LABELS_TYPE
        *InsertBlock: =DuplexConstraints        
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0600>" =eLabels =attr_ubyte =MediaType
        }
    }

    *Option: BOND
    {
        *rcNameID: =IDS_BOND_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0400>" =eBond =attr_ubyte =MediaType
        }
    }

    *Option: RECYCLED
    {
        *rcNameID: =IDS_RECYCLED_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0800>" =eRecycled =attr_ubyte =MediaType
        }
    }

    *Option: COLOR
    {
        *rcNameID: =IDS_COLOR_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0500>" =eColor =attr_ubyte =MediaType
        }
    }

    *Option: LIGHT                    *%  Light 60-75 g/m2
    { 
        *rcNameID: =IDS_LIGHT2
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0500>" =eMediaLight =attr_ubyte =MediaType
        }
    }


    *Option: HEAVY
    {
        *rcNameID: =IDS_HEAVY1              *%  "Heavy 106-163 g/m2"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0500>" =eHeavy =attr_ubyte =MediaType
        }
    }


    *Option: CARDSTOCK          *%"Cardstock 164-220 g/m2"
    {
        *rcNameID: =IDS_CARDSTOCK_164       *%  "Cardstock >164 g/m2


        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0a00>" =eCardstock =attr_ubyte =MediaType
        }
    }

    *Option: GLOSS            *%"Glossy 75-120 g/m2"
    {
        *rcNameID: =IDS_GLOSSY1             *%  "Glossy 75-105 g/m2"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0500>" =eGloss =attr_ubyte =MediaType
        }
    }

    *Option: HEAVY_GLOSSY        *%"Heavy Glossy 120-160 g/m2"
    {
        *rcNameID: =IDS_HEAVY_GLOSSY        *%  "Heavy Glossy"
        *InsertBlock: =DuplexConstraints

        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0b00>" =eHeavyGloss =attr_ubyte =MediaType
        }
    }

    *Option: TOUGHPAPER
    {
        *rcNameID: =IDS_TOUGH_PAPER
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0b00>""Tough Paper" =attr_ubyte =MediaType
        }
    }

    *Option: ENVELOPE
    {
        *rcNameID: =IDS_ENVELOPE_TYPE
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *Cmd: =ubyte_array =uint16 "<0800>" =eEnvelope =attr_ubyte =MediaType
        }
    }

*%------------------------------------------------------------------------
*%  Addition of User Defined Media Types. These are processed through EAC/BiDi.
*%  Currently MOMBI supports only upto 5. Also make sure that HPMediaPMLRange feature is also present
*%------------------------------------------------------------------------

    *Option: UserDefinedMedia1
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia2
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia3
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia4
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia5
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }
}

*%------------------------------------------------------------------------
*% Feature: Collate : SF (Standard Feature)
*%------------------------------------------------------------------------
*Feature: Collate
{
    *rcNameID: =IDS_COLLATE
    *DefaultOption: ON

    *Option: OFF
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }

    *Option: ON
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.90
            *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
        }
        *Constraints: DeviceIsMopier.NotInstalled
    }
}

*%------------------------------------------------------------------------
*% Feature: OutputBin : TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*Feature: OutputBin
{
    *rcNameID: =IDS_OUTPUTBIN_DISPLAY
    *HelpIndex: =IDH_OUTPUT_BIN_OPTIONS_Q204
    *DefaultOption: Auto

    *Option: Auto
    {
        *rcNameID: =IDS_AUTO_SELECT
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: ""
        }
    }
     *% from hplj4345 begin
    *Option: OutputBin31
    {
        *rcNameID: =IDS_OUTPUT_BIN_1
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
        }
    }
    *Option: OutputBin32
    {
        *rcNameID: =IDS_OUTPUT_BIN_2
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }
    *Option: OutputBin33
    {
        *rcNameID: =IDS_OUTPUTBIN_3_HIGHEST_CAPACITY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
        }
    }
*% end hplj4345
   *Option: OutputBinUpperSB
    {
		*rcNameID:=IDS_UPPER_LEFT_BIN
		*OutputOrderReversed?: TRUE
		*switch: AccessoryOutputBins
		{
			*case: 3BinStaplerMailbox
			{
				*Command: CmdSelect
				{
					 *Order: JOB_SETUP.100
					 *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
				}
			}
			*case: BookletMakerMailboxStapler
			{
				*Command: CmdSelect
				{
					 *Order: JOB_SETUP.100
					 *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
				}
			}
		}
    }
    *Option: OutputBinMiddleSB
    {
		*%rcNameID:=IDS_MIDDLE_LEFT_BIN
		*Name: "Middle Left Bin"
		*OutputOrderReversed?: TRUE
		*switch: AccessoryOutputBins
		{
			
			*case: 3BinStaplerMailbox
			{
				*Command: CmdSelect
				{
					 *Order: JOB_SETUP.100
					 *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
				}
			}
			*case: BookletMakerMailboxStapler
			{
				*Command: CmdSelect
				{
					 *Order: JOB_SETUP.100
					 *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
				}
			}
		}
    }   
        *Option: Stacker2
    {
        *rcNameID: =IDS_STACKER_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }
    *Option: MFPUpperLeftBinStraight
    {
        *rcNameID: =IDS_UPPER_LEFT_BIN_SP
        *DisabledFeatures: LIST(Stapling)
        *OutputOrderReversed?:  TRUE         *% Verify with the spec
        *switch: AccessoryOutputBins
        {
            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_UP<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_UP<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
            *default:
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                } 
            }
        }
    }
    *Option: StackerFaceDown
    {
        *rcNameID: =IDS_STACKER_BIN_DOWN
        *switch: AccessoryOutputBins
        {
            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
        }
    }
    *Option: OutputBin2_8
    {
        *rcNameID: =IDS_OUTPUT_BIN_2_8 
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
        }
    }

    
    *Option: OutputBin2
    {
        *rcNameID: =IDS_OUTPUT_BIN_2 
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
        }
    }
    *Option: OutputBin3
    {
        *rcNameID: =IDS_OUTPUT_BIN_3
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
        }
    }
    *Option: OutputBin4
    {
        *rcNameID: =IDS_OUTPUT_BIN_4
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
        }
    }
    *Option: OutputBin5
    {
        *rcNameID: =IDS_OUTPUT_BIN_5
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
        }
    }
    *Option: OutputBin6
    {
        *rcNameID: =IDS_OUTPUT_BIN_6
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
        }
    }
    *Option: OutputBin7
    {
        *rcNameID: =IDS_OUTPUT_BIN_7
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
        }
    }
    *Option: OutputBin8
    {
        *rcNameID: =IDS_OUTPUT_BIN_8
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
        }
    }

}




*Feature: HPImageShift
{
     *rcNameID: =IDS_IMAGE_SHIFT1
     *HelpIndex: 15310
     *DefaultOption: Off
     *Option: Off
     {
       *rcNameID: =IDS_OFF 
       *Command: CmdSelect
        {
            *Order: JOB_SETUP.80
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>IMAGE_SHIFT<22><0A>@PJL SET PROCESSINGOPTION=<22>NONE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
     }
     *Option: On
     {
       *rcNameID: =IDS_ON 
       *Command: CmdSelect
        {
            *Order: JOB_SETUP.80
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>IMAGE_SHIFT<22><0A>@PJL SET PROCESSINGOPTION=<22>ON<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
     }
}

*Feature: HPAutoDuplexScaling
{
    *rcNameID: =IDS_PRINT_ON_BOTH_SIDES_OPTIONS_DISPLAY
    *HelpIndex: =IDH_PRESERVE_LAYOUT_EC6
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

    *Option: False
    {
        *rcNameID: =IDS_DONOT_REDUCE_CONTENT_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_REDUCE_CONTENT_DISPLAY
    }
}

*%  Keep this feature only for color printers
*%  For monochrome printers, make the Mono CmdStartPage block global

*ChangeColorModeOnDoc?: FALSE

*Feature: ColorMode
{
    *rcNameID: =IDS_COLOR_PRINTING_MODE
    *DefaultOption: 24bpp
    *HelpIndex: =IDH_UNIDRV_COLOR_MODE
    *Option: Mono
    {
        *rcNameID: =IDS_MONOCHROME
        *DevNumOfPlanes: 1
        *DevBPP: 24
        *DrvBPP: 24
        *Color? : FALSE
        *PaletteSize: 1
        *PaletteProgrammable? : TRUE
        *Command: CmdDefinePaletteEntry { *Cmd: "" }
    }
    *Option: 24bpp
    {
        *rcNameID: =IDS_TRUE_COLOR
        *DevNumOfPlanes: 1
        *DevBPP: 24
        *DrvBPP: 24
        *PaletteSize: 256
        *PaletteProgrammable? : TRUE
        *Command: CmdDefinePaletteEntry { *Cmd: "" }
    }
}

*switch: ColorMode
{
    *case: Mono
    {
        *Command: CmdStartPage
        {
            *Order: PAGE_SETUP.90
            *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
+                 =ubyte =eGray =attr_ubyte =ColorSpace =SetColorSpace
        }
    }
    *case: 24bpp
    {
        *Command: CmdStartPage
        {
            *Order: PAGE_SETUP.90
            *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
+                 =ubyte =eRGB =attr_ubyte =ColorSpace =SetColorSpace
        }
    }
}


*Feature: TextAsBlack
{
    *rcNameID: =IDS_PRINTALLBLACK
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_PRINT_TEXT_BLACK_EC5
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*Feature: TTAsBitmapsSetting
{
    *rcNameID: =IDS_TTASBITMAPS
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_TRUETYPE_AS_BITMAP

    *DefaultOption: TTModeOutline

    *Option: TTModeOutline
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: TTModeBitmap
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*switch: TTAsBitmapsSetting
{
    *case: TTModeBitmap
    {
        *FontFormat: HPPCL_RES
    }

    *case: TTModeOutline
    {
        *FontFormat: HPPCL_OUTLINE
    }
}

*Feature: RETChoice
{
    *rcNameID: =IDS_RET
    *DefaultOption: True
    *HelpIndex: =IDH_UNIDRV_HP5SI_RET

    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.130
            *Cmd: =PJL_RET_OFF
        }
    }

    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.130
            *Cmd: =PJL_RET_MEDIUM
        }
    }
}

*Feature: HPBackSidePrinting
{
    *rcNameID: =IDS_BACK_SIDE_PRINTING
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_BACKSIDE_PRINTING
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.140
            *Cmd: "@PJL SET PRINTONBACKSIDE=OFF<0A>"
        }
    }

    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.140
            *Cmd: "@PJL SET PRINTONBACKSIDE=ON<0A>"
        }
    }
}

*Feature: JPEGEnable
{
    *rcNameID: =IDS_RASTER_COMPRESSION
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_RASTER_COMPRESSION_EC6
    *DefaultOption: Best

    *Option: Auto
    {
        *rcNameID: =IDS_AUTOMATIC
    }

    *Option: Best
    {
        *rcNameID: =IDS_BEST_QUALITY
    }

    *Option: Maximum
    {
         *rcNameID: =IDS_MAXIMUM_COMPRESSION
    }
}

*Feature: Smoothing
{
    *rcNameID: =IDS_SMOOTHING
    *HelpIndex: 15319
    *DefaultOption: True
    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.11
            *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
        }
    }
    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.11
            *Cmd: "@PJL SET SMOOTHING=ON<0A>"
        }
    }
}

*%-------------------------------------------------------------------------
*% PRN_PROP Standard features section
*%-------------------------------------------------------------------------

*Feature: AutoConfiguration
{
    *rcNameID: =IDS_AUTO_CONFIGURATION
    *HelpIndex: =IDH_UPDATE_NOW_EC6
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }
    *Option: Installed
    {
        *rcNameID: =IDS_UPDATE_NOW
    }
}

*Feature: Tray3
{
    *rcNameID: =IDS_TRAY3
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_HP5SI_TRAY    
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: LIST(InputBin.Tray3_500, InputBin.Tray4_500)
    }

    *Option: Tray3_500
    {
        *rcNameID: =IDS_500_SHEET_TRAY3
    }
}

*Feature: Tray4
{
    *rcNameID: =IDS_TRAY4
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_HP5SI_HCI    
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: LIST(InputBin.Tray4_500)
    }

    *Option: Tray4_500
    {
        *rcNameID: =IDS_500_SHEET_TRAY4
    }
}

*Feature: DuplexUnit
{
    *rcNameID: =IDS_DUPLEX_2_SIDED_PRINTING
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_DUPLEX_UNIT_EC5
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
        *DisabledFeatures: LIST(Duplex)
    }

    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
}

*Feature: ManualDuplex
{
    *rcNameID: =IDS_MANUALDUPLEX
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_ALLOW_MANUAL_DUPLEXING_EC6
    *DefaultOption: True

    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*Feature: Memory
{
    *rcNameID: =IDS_PRINTER_MEMORY
    *HelpIndex: =IDH_UNIDRV_HP5SI_MEM
    *DefaultOption: 96MB

    *Option: 96MB
    {
        *rcNameID: =IDS_96_MB
        *MemoryConfigMB: PAIR(96, 6)
    }

    *Option: 128MB
    {
        *rcNameID: =IDS_128_MB
        *MemoryConfigMB: PAIR(128, 22)
    }

    *Option: 160MB
    {
        *rcNameID: =IDS_160_MB
        *MemoryConfigMB: PAIR(160, 38)
    }

    *Option: 192MB
    {
        *rcNameID: =IDS_192_MB
        *MemoryConfigMB: PAIR(192, 54)
    }

    *Option: 224MB
    {
        *rcNameID: =IDS_224_MB
        *MemoryConfigMB: PAIR(224, 70)
    }

    *Option: 256MB
    {
        *rcNameID: =IDS_256_MB
        *MemoryConfigMB: PAIR(256, 86)
    }

    *Option: 288MB
    {
        *rcNameID: =IDS_288_MB
        *MemoryConfigMB: PAIR(288, 102)
    }

    *Option: 320MB
    {
        *rcNameID: =IDS_320_MB
        *MemoryConfigMB: PAIR(320, 118)
    }

    *Option: 352MB
    {
        *rcNameID: =IDS_352_MB
        *MemoryConfigMB: PAIR(352, 134)
    }

    *Option: 384MB
    {
        *rcNameID: =IDS_384_MB
        *MemoryConfigMB: PAIR(384, 150)
    }
}

*Feature: PrinterHardDisk
{
    *rcNameID: =IDS_PRINTERHARDDISK
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_PRINTER_HARD_DISK
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
    }

    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
}

*Feature: JobRetention
{
    *rcNameID: =IDS_JOBR_CB_TITLE
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_JOBRETENTION_PH3
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *CallbackID: =CMDCB_JRSTARTDOC
        }
    }
}

*Feature: DeviceIsMopier
{
    *rcNameID:=IDS_MOPIER_MODE
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_MOPIER_ENABLED
    *DefaultOption: NotInstalled
    
    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
        *DisabledFeatures: LIST(Collate)
    }
    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%-------------------------------------------------------------------------
*% DOC_PROP Custom features section
*%-------------------------------------------------------------------------

*%  This feature is used for the Print Quality association.
*%  The help index, and option name strings are taken from here and displayed on the HP Paper/Quality tab page
*%  under the Print Quality list box. 
*%  Each of these option selections are associated with a set of other GPD feature selections
*%  (visible or hidden in treeview) using the HP specific XML data file

*% This feature's options varies drastically between LJ and BIJ. Hence both are shown here for clarity

*%  This is the LJ version
*Feature: PrintQualityGroup
{
    *Name: "PrintQualityGroup"
    *HelpIndex: =IDH_UNIDRV_PRINT_QUALITY_PH3
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PQGroup_1

    *Option: PQGroup_1         *%600 dpi
    {
        *rcNameID: =IDS_600DPI_RES
    }
}

*%  This feature is used for specifying whether the printer is color or monochrome
*%  Possible values are MONOCHROME_MODE, COLOR_MODE
*%  Based on the color/monochrome support, the Color tab is shown in the HP UI. 
*%  Using this, additional specific processing and switching can also be done in the HP UI and render plug-in modules

*Feature: HPColorMode
{
    *Name: "HPColorMode"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: MONOCHROME_MODE

    *Option: MONOCHROME_MODE
    {
        *Name: "MONOCHROME_MODE"
    }
}

*Feature: HPPDLType
{
    *Name: "HPPDLType"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDL_PCL6

    *Option: PDL_PCL6
    {
        *Name: "PCL 6"
    }
}



*% This feature is used for specifying the encoding supported by the printer
*% Possible values are UTF8, 7 Bit ASCII Encoding, 8 Bit ASCII Encoding and No Encoding
*% Using this, various PJL strings (Job Storage User Names, Job Names etc) can be encoded and sent to the printer

*Feature: HPPJLEncoding
{
    *Name: "HPPJLEncoding"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: UTF8

    *Option: UTF8
    {
        *Name: "UTF8"
    }
}

*% This feature is used for the Job Accounting feature for sending various statistical and metrics data to the printer
*% Possible values are HPJOBACCT_JOBACNT (Job Accounting alone), HPJOBACCT_JOBACNT_TIMESTAMP (Job Accounting and Time Stamp)
*% A callback ID (must be 1) is specified and in the render module, the metrics data is obtained
*% and sent as PJLs to the printer

*Feature: HPJobAccounting
{
    *Name: "HPJobAccounting"    
    *FeatureType: DOC_PROPERTY

    *Option: HPJOBACCT_JOBACNT
    {
        *Name: "HPJOBACCT_JOBACNT"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.10
            *CallbackID: =CMDCB_HPJOBACCOUNT
        }
    }
}

*% This feature is used for the Born On Date feature for sending the date/time stamp of the job to the printer
*% Possible values are HPBOD
*% A callback ID (must be 3) is specified and in the render module, the date/time stamp is obtained
*% and sent as PJLs to the printer

*Feature: HPBornOnDate
{
    *Name: "HPBornOnDate"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: HPBOD

    *Option: HPBOD
    {
        *Name: "HPBOD"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.20
            *CallbackID: =CMDCB_HPBOD
        }
    }
}

*% This feature is used for the Job By Hob Override feature. Here the user name needs to be sent with every job
*% Possible values are JBJO
*% A callback ID (must be 5) is specified and in the render module, the user name is obtained 
*% and sent as PJLs to the printer

*Feature: HPJobByJobOverride
{
    *Name: "HPJobByJobOverride"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JBJO

    *Option: JBJO
    {
        *Name: "JBJO"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.40
            *CallbackID: =CMDCB_HPJBJO
        }
    }
}

*% This feature is used for specifying the HP specific XML file name that the printer is using
*% The HP specific XML file is an additional data fle to the UI and render modules. It specifies enhanced data like
*% Print Quality automation, External Quicksets, Media Type Ordering, DMC Install and Upgrade Time events etc
*% The XML file is used only in the read mode dynamically during the UI session

*Feature: HPXMLFileUsed
{
    *Name: "HPXMLFileUsed"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: hpmcpap6.xml

    *Option: hpmcpap6.xml
    {
        *Name: "hpmcpap6.xml"
    }

    *Option: HPXMLFileNameEnd
    {
        *Name: ""
    }
}
*Feature: HPStaplingOpposed
{
    *Name: "HPStaplingOpposed"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False

    *Option: False
    {
        *Name: "False"
    }

    *Option: True
    {
        *Name: "True"
    }
}
*% This feature is used for specifying whether PCL5 pass through support is present in the printer.
*% This feature would only be present in PCL6 drivers since only they support PCL5 passthrough.

*Feature: HPPCL6PassThrough
{
    *Name: "HPPCL6PassThrough"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

    *Option: True
    {
        *Name: "True"
    }    
}

*% This feature is used for enabling smart duplexing on a single page job
*% (i.e not playing the blank side of the page)
*% Required as True for all products     

*Feature: HPSmartDuplexSinglePageJob
{
    *Name: "HPSmartDuplexSinglePageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

    *Option: True
    {
        *Name: "True"
    }
}

*% This feature is used for enabling smart duplexing on odd page job and improving duplex performance for the same
*% Option is printer model dependent. False if model does not support this and True otherwise

*Feature: HPSmartDuplexOddPageJob
{
    *Name: "HPSmartDuplexOddPageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True
    
    *Option: True
    {
        *Name: "True"
    }
}

*%  Manual Duplex custom feature
*%  Specifies the bitmaps and strings for the manual duplex pop-up dialog that comes at print time

*Feature: HPManualDuplexDialogItems
{
    *Name: "HPManualDuplexDialogItems"
    *DefaultOption: InstructionID_01_FACEDOWN-NOROTATE
    
    *Option: InstructionID_01_FACEDOWN-NOROTATE
    {
        *Name:"BitmapID_105_StringID_3313"
    }

    *Option: InstructionID_01_FACEUP-NOROTATE
    {
        *Name:"BitmapID_106_StringID_3886"
    }

    *Option: InstructionID_02_FACEDOWN-NOROTATE
    {
        *Name:"BitmapID_107_StringID_3070"
    }

    *Option: InstructionID_02_FACEUP-NOROTATE
    {
        *Name:"BitmapID_107_StringID_3071"
    }

    *Option: InstructionID_03_FACEDOWN-NOROTATE
    {
        *Name:"BitmapID_109_StringID_3065"
    }

    *Option: InstructionID_03_FACEUP-NOROTATE
    {
        *Name:"BitmapID_109_StringID_3065"
    }
}

*%  Manual Duplex custom feature
*%  Specifies the ManualFeed Tray Paper Orientation of the printer model
*%  Possible values are FACEDOWN, FACEUP

*Feature: HPManualFeedOrientation
{
    *Name: "HPManualFeedOrientation"
    *DefaultOption: FACEDOWN

    *Option: FACEDOWN
    {
        *Name:"FACEDOWN"
    }
}

*%  Manual Duplex custom feature
*%  HPOutputBinOrientation - should have orientations of all supported output bins
*%  If the printer has no selectable outputbins, this feature has only 1 option - FACEUP/FACEDOWN
*%  If the printer has selectable outputbins, this feature should have 1 option each for each 
*%  of the selectable output bins eg Option1-FACEDOWN, Option2-FACEUP

*Feature: HPOutputBinOrientation
{
    *Name: "HPOutputBinOrientation"
    *DefaultOption: FACEDOWN

    *Option: FACEDOWN
    {
        *Name:"FACEDOWN"
    }
}

*%------------------------------------------------------------------------
*% Feature: Stapling : TVSF (TV Managed Standard Feature)
*%
*% If Stapling is set to anything other than none, the stapling commands
*% will always override the output bin commands but if the output
*% bin is set to a Face Up Bin, the "*OutputOrderReversed?:  TRUE"
*% will cause the output to be printed in the reverse order, so we need to
*% set "*OutputOrderReversed?:  FALSE" for each of the stapling options.
*% Note that the stapling options must come after the OutputBin options
*% for this to work correctly.
*%------------------------------------------------------------------------
*Feature: Stapling
{
    *rcNameID: =IDS_STAPLER
    *HelpIndex: =IDH_UNIDRV_PH3_STAPLING_OPTIONS
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_NONE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>NONE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
   
    *Option: 1right
    {
       *rcNameID: =IDS_ONE_STAPLE_RIGHT
       *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.3000Stapler
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker     
        *Constraints: AccessoryOutputBins.MBM8JobSeparator
        *Constraints: AccessoryOutputBins.MBM8Sorter
        *Constraints: AccessoryOutputBins.500Stapler
		
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET  PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>RIGHT_1PT<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    } 
    *Option: 1left
    {
       *rcNameID: =IDS_ONE_STAPLE_LEFT
		*Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.3000Stapler
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker     
		*Constraints: AccessoryOutputBins.MBM8JobSeparator		
		*Constraints: AccessoryOutputBins.MBM8Sorter
		*Constraints: AccessoryOutputBins.500Stapler
       
       *Command: CmdSelect
       {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGACTION=APPEND<0A>@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>LEFT_1PT<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
       }
    }
     *Option: 2left
    {
       *rcNameID: =IDS_TWO_STAPLE_LEFT
       *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.3000Stapler
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker     
		*Constraints: AccessoryOutputBins.MBM8JobSeparator		
		*Constraints: AccessoryOutputBins.MBM8Sorter
		*Constraints: AccessoryOutputBins.500Stapler
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGACTION=APPEND<0A>@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>LEFT_2PT<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    } 
    *Option: 2right
    {
       *rcNameID: =IDS_TWO_STAPLE_RIGHT
       *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.3000Stapler
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker     
		*Constraints: AccessoryOutputBins.MBM8JobSeparator		
		*Constraints: AccessoryOutputBins.MBM8Sorter
		*Constraints: AccessoryOutputBins.500Stapler
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGACTION=APPEND<0A>@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>RIGHT_2PT<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    } 
    *Option: 2top
    {
       *rcNameID: =IDS_TWO_STAPLE_TOP
       *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.3000Stapler
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker     
		*Constraints: AccessoryOutputBins.MBM8JobSeparator		
		*Constraints: AccessoryOutputBins.MBM8Sorter
		*Constraints: AccessoryOutputBins.500Stapler
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGACTION=APPEND<0A>@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>TOP_2PT<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    } 
    *Option: Stitching                   *% "Fold Saddle"
    {
        *rcNameID: =IDS_FOLD_AND_STITCH
        *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.3000Stapler
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker     
		*Constraints: AccessoryOutputBins.MBM8JobSeparator		
		*Constraints: AccessoryOutputBins.MBM8Sorter
		*Constraints: AccessoryOutputBins.500Stapler
        *Constraints: AccessoryOutputBins.3BinStaplerMailbox
        *Constraints: AccessoryOutputBins.3BinStaplerStacker
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>BOOKLET_MAKER<22><0A>@PJL SET PROCESSINGOPTION=<22>BOOKLET_MAKER<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
    *Option: 1parallel
    {
        *rcNameID:=IDS_ONE_STAPLE
        *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.BookletMakerStackerStapler
        *Constraints: AccessoryOutputBins.BookletMakerMailboxStapler
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker
        *Constraints: AccessoryOutputBins.MBM8JobSeparator
        *Constraints: AccessoryOutputBins.MBM8Sorter
        *Constraints: AccessoryOutputBins.3BinStaplerMailbox
        *Constraints: AccessoryOutputBins.3BinStaplerStacker
		*Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>ONE_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }

    }
    *Option: 1diagonal
    {
        *rcNameID: =IDS_ONE_STAPLE_ANGLED
        *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.BookletMakerStackerStapler
        *Constraints: AccessoryOutputBins.BookletMakerMailboxStapler
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker
        *Constraints: AccessoryOutputBins.MBM8JobSeparator
        *Constraints: AccessoryOutputBins.MBM8Sorter
        *Constraints: AccessoryOutputBins.3BinStaplerMailbox
        *Constraints: AccessoryOutputBins.3BinStaplerStacker
        *Constraints: AccessoryOutputBins.500Stapler
		*switch: HPStaplingOpposed
        {
            *case: False
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.110
                    *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>ANGLED_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
            *case: True
            {
                *%This product uses a fixed stapler, so there is no need to send different commands for depending upon orientation/papersize.
            }
        }
    }
     *Option: 2parallel
    {
        *rcNameID: =IDS_TWO_STAPLE
        *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.BookletMakerStackerStapler
        *Constraints: AccessoryOutputBins.BookletMakerMailboxStapler
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker
        *Constraints: AccessoryOutputBins.MBM8JobSeparator
        *Constraints: AccessoryOutputBins.MBM8Sorter
        *Constraints: AccessoryOutputBins.3BinStaplerMailbox
        *Constraints: AccessoryOutputBins.3BinStaplerStacker
        *Constraints: AccessoryOutputBins.500Stapler
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>TWO_STAPLES<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
    *Option: 3parallel
    {

        *rcNameID: =IDS_THREE_STAPLE
        *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.BookletMakerStackerStapler
        *Constraints: AccessoryOutputBins.BookletMakerMailboxStapler
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker
        *Constraints: AccessoryOutputBins.MBM8JobSeparator
        *Constraints: AccessoryOutputBins.MBM8Sorter
        *Constraints: AccessoryOutputBins.3BinStaplerMailbox
        *Constraints: AccessoryOutputBins.3BinStaplerStacker
        *Constraints: AccessoryOutputBins.500Stapler
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>THREE_STAPLES<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
    *Option: 6parallel
    {

        *rcNameID: =IDS_SIX_STAPLE
        *Constraints: AccessoryOutputBins.MBM3Mailbox
        *Constraints: AccessoryOutputBins.MBM3FunctionSeparator
        *Constraints: AccessoryOutputBins.BookletMakerStackerStapler
        *Constraints: AccessoryOutputBins.BookletMakerMailboxStapler
        *Constraints: AccessoryOutputBins.3000Stacker
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.MBM8Mailbox
        *Constraints: AccessoryOutputBins.MBM8Stacker
        *Constraints: AccessoryOutputBins.MBM8JobSeparator
        *Constraints: AccessoryOutputBins.MBM8Sorter
        *Constraints: AccessoryOutputBins.3BinStaplerMailbox
        *Constraints: AccessoryOutputBins.3BinStaplerStacker
        *Constraints: AccessoryOutputBins.500Stapler
        *%OutputOrderReversed?: FALSE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>SIX_STAPLES<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
      
    }
*%  Manual Duplex custom feature
*%  Specifies whether the Manual Duplex pop-up dialog must be modal (used mainly for Inkjets) or modeless (used for LJ)
*%  Possible values are Modeless, Modal

*Feature: HPManualDuplexDialogModel
{
    *Name: "HPManualDuplexDialogModel"
    *DefaultOption: Modeless

    *Option: Modeless
    {
        *Name:"Modeless"
    }
}

*%  Manual Duplex custom feature
*%  ManualDuplex Page Order
*%  Possible values are EvenPagesFirst, OddPagesFirst

*Feature: HPManualDuplexPageOrder
{
    *Name: "HPManualDuplexPageOrder"
    *DefaultOption: EvenPagesFirst

    *Option: EvenPagesFirst
    {
        *Name:"EvenPagesFirst"
    }
}

*%  Manual Duplex custom feature
*%  ManualDuplex Mapping of Manual Feed Tray to Tray 1
*%  Possible values are True, False
*%  Value should be True only if the Manual Duplex PJL is sent

*Feature: HPMapManualFeedToTray1
{
    *Name: "HPMapManualFeedToTray1"
    *DefaultOption: True

    *Option: True
    {
        *Name:"True"
    }
}

*Feature: HPPrintOnBothSidesManually
{
    *rcNameID: =IDS_MANUALDUPLEX
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_PRINT_ON_BOTH_SIDES_MANUAL_EC6
    *ConflictPriority: 5
    *DefaultOption: False

    *Option: False
    {
       *rcNameID: =IDS_OFF_DISPLAY
       *Command: CmdSelect
       {
           *Order: JOB_SETUP.70
           *CallbackID: =CMDCB_MANUALDUPLEX
       }
    }
    *Option: True
    {
       *rcNameID: =IDS_ON_DISPLAY
       *Command: CmdSelect
       {
           *Order: JOB_SETUP.70
           *CallbackID: =CMDCB_MANUALDUPLEX
       }
    }
}

*Feature: HPStraightPaperPath
{    
    *rcNameID: =IDS_CORRECT_ORDER_REAR_BIN
    *HelpIndex: =IDH_UNIDRV_STRAIGHT_PAPER_PATH_EC6
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
        *InsertBlock: =DuplexConstraints
    }
}

*%  PUMP PJL Usage feature
*%  Used to send printing usage information that can be analysed by applications on the printer. 
*%  Similar to Job Accounting and used in BIJ and DJ

*Feature: HPSendPJLUsageCmd
{
    *Name: "HPSendPJLUsageCmd"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: CURI

    *Option: CURI
    {
        *Name: "CURI"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.50
            *CallbackID: =CMDCB_PUMPPJLUSAGE
        }
    }
}

*%  HPCovers custom feature
*%  This feature is used for processing the Cover Sheet options for Digital Copiers
*%  This feature defines the list of options that will appear in the List Box on the Paper/Quality tab page

*Feature: HPCovers
{
    *Name: "HPCovers"
    *FeatureType: DOC_PROPERTY
    *ConflictPriority: 6
    *DefaultOption: Other_Pages


    *Option: Front_Cover
    {
        *rcNameID: =IDS_FRONT_DOVER
    }

    *Option: First_Page
    {
        *rcNameID: =IDS_STA_FIRST_PAGE
    }

    *Option: Other_Pages
    {
        *rcNameID: =IDS_MEDIA_LB_OTHER_PAGES
    }

    *Option: Last_Page
    {
        *rcNameID: =IDS_LAST_PAGE
    }

    *Option: Back_Cover
    {
        *rcNameID: =IDS_BACK_COVER
    }
}


*%  HPCovers custom feature - Front_Cover_from_Feeder_InputBin
*%  This feature is used for defining the Input Bins that should appear for the Front_Cover_from_Feeder list box option

*Feature: Front_Cover_from_Feeder_InputBin
{
    *rcNameID: =IDS_FRONT_COVER_FROM_FEEDER 
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_NONE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *Cmd: "@PJL SET PROCESSINGTYPE=PI_COVER_FRONT<0A>@PJL SET PROCESSINGOPTION=OFF<0A>"
        }
    }

    *Option: CoverSheetFeederUpperTray
    {
        *rcNameID: =IDS_COVER_SHEET_FEEDER_UPPER
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>PI_COVER_FRONT<22><0A>@PJL SET PROCESSINGOPTION=<22>UPPER_TRAY<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }

    *Option: CoverSheetFeederLowerTray
    {
        *rcNameID: =IDS_COVER_SHEET_FEEDER_LOWER
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>PI_COVER_FRONT<22><0A>@PJL SET PROCESSINGOPTION=<22>LOWER_TRAY<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
}

*%  HPCovers custom feature - Back_Cover_from_Feeder_InputBin
*%  This feature is used for defining the Input Bins that should appear for the Back_Cover_from_Feeder list box option

*Feature: Back_Cover_from_Feeder_InputBin
{
    *rcNameID: =IDS_BACK_COVER_FROM_FEEDER
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_NONE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *Cmd: "@PJL SET PROCESSINGTYPE=PI_COVER_BACK<0A>@PJL SET PROCESSINGOPTION=OFF<0A>"
        }
    }

    *Option: CoverSheetFeederUpperTray
    {
        *rcNameID: =IDS_COVER_SHEET_FEEDER_UPPER
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>PI_COVER_BACK<22><0A>@PJL SET PROCESSINGOPTION=<22>UPPER_TRAY<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }

    *Option: CoverSheetFeederLowerTray
    {
        *rcNameID: =IDS_COVER_SHEET_FEEDER_LOWER
        *Command: CmdSelect
        {
             *Order: JOB_SETUP.30
             *Cmd: "@PJL SET PROCESSINGTYPE=<22>PI_COVER_BACK<22><0A>@PJL SET PROCESSINGOPTION=<22>LOWER_TRAY<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
}

*%-------------------------------------------------------------------------
*% PRN_PROP Custom features section
*%-------------------------------------------------------------------------

*%  Job Storage custom feature
*%  JRConstraints will have an option value for full, none or partial
*%  (1) JRCHDFull - the printer requires a Hard Disk for ALL JR options
*%  (2) JRCHDPartial - the printer requires a HardDisk only for SOME JR options.
*%  (3) JRCHDNone - the printer does NOT require a HardDisk for ANY JR options

*Feature: JRConstraints
{
    *Name: "JRConstraints"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JRCHDPartial

    *Option: JRCHDPartial
    {
        *Name: "JRCHDPartial"
    }
    *Option: JRCJobRet
    {
        *Name: "JRCJobRet"
    }
    *Option: 0
    {
        *Name: "0"
    }
}

*%  Job Storage custom feature
*%  Two JR Option constraint features are defined
*%  (1) JRHDInstalled - This lists the JR options available when HD is installed
*%  (2) JRHDNotInstalled - This lists the JR options available when HD is not installed
*%      The options are as follows - (in this order)
*%               (a) JRHDOff
*%               (b) JRHDProof
*%               (c) JRHDPrivate
*%               (d) JRHDQuickCopy
*%               (e) JRHDStore
*%  Note: The options are the same for both JRHDInstalled and JRHDNotInstalled

*Feature: JRHDInstalled
{
    *Name: "JRHDInstalled"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JRHDOff
    *Option: JRHDOff
    {
        *Name: "JRHDOff"
    }

    *Option: JRHDProof
    {
        *Name: "JRHDProof"
    }

    *Option: JRHDPrivate
    {
        *Name: "JRHDPrivate"
    }

    *Option: JRHDQuickCopy
    {
        *Name: "JRHDQuickCopy"
    }

    *Option: JRHDStore
    {
        *Name: "JRHDStore"
    }
}

*Feature: JRHDNotInstalled
{
    *Name: "JRHDNotInstalled"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JRHDOff

    *Option: JRHDOff
    {
        *Name: "JRHDOff"
    }

    *Option: JRHDProof
    {
        *Name: "JRHDProof"
    }

    *Option: JRHDPrivate
    {
        *Name: "JRHDPrivate"
    }
}

*% This feature is used for specifying the Support for Larger paper (SLP) feature which allows the user to select a paper
*% size larger than what the printer supports and still print that onto a supported (mapped) paper without any page reflow
*% in the document at the application side
*% Currently, this feature is either always supported for printers or not suppoted at all. 
*% This means that this feature is not user modifiable and has no UI exposure
*% To support SLP, define this feature with *DefaultOption: Installed
*% To remove SLP support, define this feature with *DefaultOption: NotInstalled or do not define the feature

*Feature: ScaleFromLargePaper
{    
    *rcNameID: =IDS_LARGE_PAPER_SUPPORT    
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_LARGER_PAPER
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%  HPConsumerCustomPaper custom feature
*%  This feature is used for showing the Custom Paper Button on the PQ tab page
*Feature: HPConsumerCustomPaper
{
    *Name: "HPConsumerCustomPaper"
    *Option: True
    {
        *Name: "True"
    }
}

*% This feature is used in conjunction with the ScaleFromLargePaper above. It should be present only if 
*% ScaleFromLargePaper above is present. This specifies the Actual (supported) MaxSize dimensions of the printer
*% since the *MaxSize keyword dimensions have been specified as the maximum larger (SLP) paper
*% Specify the option name as X_Y whre X and Y are the width and height of the paper in "tens of mm"

*Feature: ActualCustomRange
{
    *Name: "Actual Custom Range"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: 216000_356000

    *Option: 216000_356000
    {
        *Name: "216000_356000"
    }
}

*% This feature is used for the "Combine Media Types and Sources in the application list" feature
*% This feature is currently not shown in the treeview because of Unidrv limitations. 
*% So in any product, this feature is either always present as installed or always present as Not Installed

*Feature: CombineMediaTypesAndInputBins
{
    *rcNameID: =IDS_COMBINE_SOURCE_TYPE
    *FeatureType: PRINTER_PROPERTY 
    *HelpIndex: =IDH_UNIDRV_COMBINE_SOURCE_TYPE
    *DefaultOption: Installed

    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}
*%------------Mystique Inserted 2-23-05--------Begin------------------------
*% Verify that each option in AccessoryOutputBin feature corresponds to an option here

*Feature: HPInstallableHCO
{
    *Name: "HPInstallableHCO"
    *FeatureType: PRINTER_PROPERTY
    
    *Option: 500Stapler-Q5691
    {
         *Name: "500Stapler-Q5691"
    }
    *Option: MBM3Mailbox-Q5692
    {
        *Name: "MBM3Mailbox-Q5692"
    }

    *Option: MBM3Stacker-Q5692
    {
        *Name: "MBM3Stacker-Q5692"
    }

    *Option: MBM3FunctionSeparator-Q5692
    {
        *Name: "MBM3FunctionSeparator-Q5692"
    }
    
    *Option:  BookletMakerStackerStapler-Q6999A
    {
        *Name: "BookletMakerStackerStapler-Q6999A"
    }
    *Option:  BookletMakerMailboxStapler-Q6999A
    {
        *Name: "BookletMakerMailboxStapler-Q6999A"
    }	
    *Option:  3000Stapler-C8085
    {
        *Name: "3000Stapler-C8085"
    }
    *Option:  3000Stacker-C8084
    {
        *Name: "3000Stacker-C8084"
    }
    *Option:  MultiFunctionFinisher-C8088
    {
        *Name: "MultiFunctionFinisher-C8088"
    }
    *Option:  MBM8Mailbox-Q5693
    {
        *Name: "MBM8Mailbox-Q5693"
    }
    *Option:  MBM8Stacker-Q5693
    {
        *Name: "MBM8Stacker-Q5693"
    }
    *Option:  MBM8JobSeparator-Q5693
    {
        *Name: "MBM8JobSeparator-Q5693"
    }
    *Option:  MBM8Sorter-Q5693
    {
        *Name: "MBM8Sorter-Q5693"
    }
    *Option:  3BinStaplerMailbox-Q6998A
    {
        *Name: "3BinStaplerMailbox-Q6998A"
    }
    *Option:  3BinStaplerStacker-Q6998A
    {
        *Name: "3BinStaplerStacker-Q6998A"
    }
}
*%  EAC custom feature
*%  This feature is used to get the Feature Name of the Installable Tray. 
*%  Since all Installable Input Trays are separate GPD features,
*%  a separate custom feature is required to get all the Instalable Input Tray names
*%  This printer has 3 installable trays - Tray3 and Tray4

*% Verify that each Installable Tray option corresponds to an option here 

*Feature: HPInstallableTrayFeatureName
{
    *Name: "HPInstallableTrayFeatureName"
    *FeatureType: PRINTER_PROPERTY

    *Option: Tray3
    {
         *Name: ""
    }

    *Option: Tray4
    {
         *Name: ""
    }
}

*%  EAC custom feature
*%  This feature is used to get the part number of each Installable Tray so that mapping with the PML values can be done

*% Verify that each Installable Tray option having PML specification as part number multiple corresponds to an option here 

*Feature: HPInstallableTrayName
{
     *Name: "HPInstallableTrayName"
     *FeatureType: PRINTER_PROPERTY

     *Option: Tray3-C7130A
     {
          *Name: ""
     }
*IgnoreBlock
{
     *Option: Tray4-C7130A
     {
          *Name: ""
     }
}
}


*%  EAC custom feature
*%  This feature is used to get the capacity of each Installable Tray so that mapping with the PML values can be done

*% Verify that each Installable Tray option having PML specification as capacity corresponds to an option here 

*Feature: HPInstallableTraySize
{
    *Name: "HPInstallableTraySize"
    *FeatureType: PRINTER_PROPERTY

    *Option: Tray3_500-500-LOWER_CASSETTE
    {
         *Name: ""
    }

    *Option: Tray4_500-500-HCI
    {
         *Name: ""
    }
}

*% This feature is used for specifying if the HP custom font installer is to be used

*Feature: HPFontInstaller
{
    *Name: "HPFontInstaller"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: TRUE

    *Option: TRUE
    {
        *Name: ""
    }
}

*%  This feature is used for specifying the range of User Defined Media types.
*%  This range is used to construct the command sent to the printer for user defined media types

*Feature: HPMediaPMLRange
{
    *Name: "HPMediaPMLRange"
    *FeatureType: PRINTER_PROPERTY

    *Option: 15-19
    {
         *Name: "15-19"
    }
}
*%------------Mystique Inserted 2-24-05--------Begin----------------------
*%-------------------------------------------------------------------------
*% HP Device (MailBox/MultiFunction/StackerStapler or ModelName) to OutputBin Mapping
*%-------------------------------------------------------------------------
*Feature: HPMOutputBinHCOMap
{
    *Name: "HPMOutputBinHCOMap"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: None
    
    *Option: None
    {
        *Name: "Auto"
    }
    *Option: 500Stapler-Q5691
    {
        *Name: "Auto"
    }
    *Option: MBM3Mailbox-Q5692
    {
        *Name: "OutputBin31-OutputBin32-OutputBin33"
    }
    *Option: MBM3Stacker-Q5692
    {
        *Name: "Auto"
    }
    *Option: MBM3FunctionSeparator-Q5692
    {
        *Name: "OutputBin31-OutputBin32-OutputBin33"
    }
    *Option: 3BinStaplerMailbox-Q6998A
    {
        *Name: "Auto-OutputBinUpperSB-OutputBinMiddleSB-OutputBinLowerSB"
    }
    *Option: 3BinStaplerStacker-Q6998A
    {
        *Name: "Auto"
    }
    *Option: BookletMakerStackerStapler-Q6999A
    {
        *Name: "Auto"
    }
    *Option: BookletMakerMailboxStapler-Q6999A
    {
        *Name: "Auto-OutputBinUpperSB-OutputBinMiddleSB"
    }
    *Option: 3000Stapler-C8085
    {
        *Name: "Auto-MFPUpperLeftBinStraight-Stacker2"
    }
    *Option: 3000Stacker-C8084
    {
        *Name: "Auto-MFPUpperLeftBinStraight-Stacker2"
    }
    *Option: MultiFunctionFinisher-C8088
    {
        *Name: "Auto-StackerFaceUp-StackerFaceDown"
    }
    *Option: MBM8Mailbox-Q5693
    {
        *Name: "Stacker2-OutputBin2-OutputBin3-OutputBin4-OutputBin5-OutputBin6-OutputBin7-OutputBin8-Auto-MFPUpperLeftBinStraight"
    }
    *Option: MBM8Stacker-Q5693
    {
        *Name: "Auto-MFPUpperLeftBinStraight-OutputBin2_8"
    }
    *Option: MBM8Sorter-Q5693
    {
        *Name: "Auto-MFPUpperLeftBinStraight-OutputBin2_8"
    }
    *Option: MBM8JobSeparator-Q5693
    {
        *Name: "Auto-MFPUpperLeftBinStraight-OutputBin2_8"
    }
    
}

*Feature: HPMOutputBinHCOPMLMap
{
    *Name: "HPMOutputBinHCOPMLMap"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: None
    
    *Option: None
    {
          *Name: "0-0"
    }
    *Option: MBM3Mailbox-Q5692
    {
          *Name: "3-5"
    }
    *Option: MBM8Mailbox-Q5693
    {
          *Name: "5-12"
    }
    *Option: 3BinStaplerMailbox-Q6998A
    {
        *Name: "2-4"
    }
    *Option: BookletMakerMailboxStapler-Q6999A
    {
        *Name: "2-3"
    }     
}

*%------------Mystique Inserted 2-24-05--------End------------------------

*%------------Mystique Inserted 2-24-05--------Begin----------------------
*Feature: HPOutputBinPMLRange
{
     *Name: "HPOutputBinPMLRange"
     *FeatureType: PRINTER_PROPERTY

     *Option: 0-0
     {
          *Name: "0-0"
     }
     *Option: 2-4
     {
          *Name: "2-4"
     }
     *Option: 3-5
     {
          *Name: "3-5"
     }
     *Option: 4-8
     {
          *Name: "4-8"
     }
     *Option: 2-3
     {
          *Name: "2-3"
     }
     *Option: 5-12
     {
          *Name: "5-12"
     }
     *Option: 1-5
     {
          *Name: "1-5"
     }
     *Option: 1-4
     {
          *Name: "1-4"
     }     
}
*%-------------------------------------------------------------------------
*% Feature: PSAlignmentFile: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  Printer Services component custom feature
*%  PSAlignmentFile
*%  This feature is used to get the name of the Printer Services component DLL
*%-------------------------------------------------------------------------
*Feature: PSAlignmentFile
{
    *Name: "PSAlignmentFile"
    *FeatureType: DOC_PROPERTY
    *Option: HPZLSwn7
    {
        *Name: "HPZLSwn7"
    }
}

*%-------------------------------------------------------------------------
*% Feature: HPSmartHub Control Features: HPCF (HP Custom Feature);
*% #AADZ2119: limiting Access to web based self helpsupport services
*%-------------------------------------------------------------------------
*Feature: HPSmartHub_Onlinediagnostictools
{
  *Name: "Online diagnostic tools"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_264_BID_514_HID_266
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Supportandtroubleshooting
{
  *Name: "Support and troubleshooting"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_251_BID_514_HID_267
    }

  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Productmanuals
{
  *Name: "Product manuals"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_252_BID_514_HID_268
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Checkfordriverupdates
{
  *Name: "Check for driver updates"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_253_BID_514_HID_269
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Colorprintingaccessusage
{
  *Name: "Color printing access/usage"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_275_BID_514_HID_276
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Ordersupplies
{
  *Name: "Order supplies"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_298_BID_514_HID_280
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Showmehow
{
  *Name: "Show me how"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_283_BID_514_HID_282
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}


*%---------------------------------------------------------------
*%    *% Feature: PSServices Control Features: HPCF (HP Custom Feature);
*%  #AADZ2119: limiting Access to web based self helpsupport services
*%    PSServicesOption_Devicesettings
*%  And PSServices_Printcolorusagejoblog 
*%---------------------------------------------------------------
*Feature: PSServices_Printcolorusagejoblog
{
    *Name: "Print color usage job log"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: TRUE
    *Option: FALSE
    {
        *Name: "Off"
        *Constraints: PSServicesOption.HPColorUsageLogFile
    }
    *Option: TRUE
    {
        *Name: "On"
    }
}

*%-------------------------------------------------------------------------
*%  Printer Services component custom feature: HPCF (HP Custom Feature)
*%  PSServicesOption
*%-------------------------------------------------------------------------
*%  This feature is used to for configuring the Services tab. Each option here represents a control on the Services tab
*%  There might be associated features for a sepcific option as well
*%  Currently supported options
*%      - Clean 
*%          - For cleaning of Print cartridges. 
*%          - *Name is of the form StringID_# where # is the string RC ID
*%          - Has an associated feature HPCleaningFilesData
*%      - Align (For manual alignment of pens i.e. Calibration of device. *Name can be ADF or PSC)
*%          - For manual alignment of pens i.e. Calibration of device
*%          - *Name can be ADF or PSC
*%      - SemiAlign
*%          - For Semi Automatic alignment of pens.
*%          - *Name is  NULL
*%      - AutomaticAlign
*%          - For Automatic alignment of pens.
*%          - *Name is  NULL
*%      - HLPWithLights
*%          - For support for Printer Lights (Control Panel Simulator)
*%          - *Name is  NULL
*%      - EmbeddedServer
*%          - For support of EWS launch
*%          - *Name is  NULL
*%      - ConfigurationPage
*%          - For support of printing configuration page
*%          - *Name is  NULL
*%      - CalibrateColor
*%          - For support of color calibration
*%          - *Name is  NULL
*%      - SupportWebsite
*%          - For support of launching an external URL
*%          - *Name is a quoted string with the full URL
*%      - SupportWebsite
*%          - For support of launching an external URL
*%          - *Name is a quoted string with the full URL
*%      - PrnStat_SID_236_BID_497_HID_15515
*%          - For signifying the Printer Status feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%      - CkMedia_SID_237_BID_498_HID_15516
*%          - For signifying the Check Media Available feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%      - ManageQ_SID_238_BID_499_HID_15517
*%          - For signifying the Manage Printer Queue Available feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - *Name is NULL
*%      - UserHlp_SID_239_BID_500_HID_15518
*%          - For signifying the User Documentation feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%      - Trouble_SID_240_BID_501_HID_15519
*%          - For signifying the Troublesooting Device Maintenance feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%-------------------------------------------------------------------------


*%-------------------------------------------------------------------------
*% Feature: HPSmartHub: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*Feature: HPSmartHub
{

  *Name: "HPSmartHub"
  *FeatureType: DOC_PROPERTY  
  *DefaultOption: Inet_SID_263_BID_514_HID_265

  *Option: Inet_SID_263_BID_514_HID_265                 *%"Select a destination"
  {
     *Name: ""
  }
  
  *Option: Inet_SID_264_BID_514_HID_266                 *%"Online Diagnostic Tools": "Interactive tools and contacts for troubleshooting."
  {
     *Name: ""
  }

  *Option: Inet_SID_251_BID_514_HID_267                 *%"Product Home Page" was ("Launch Product Support Website") changed to "Support & troubleshooting": "The product's main support page on hp.com"
  {

     *Name: ""     
  }
  
  *Option: Inet_SID_252_BID_514_HID_268                 *%"Product Documentation" changed to "Product Manuals": "Online manuals that may be viewed or downloaded."
  {
     *Name: ""
  }
  
  *Option: Inet_SID_253_BID_514_HID_269                 *%"Check for Driver Updates": "Automatically check to see if the correct driver is installed."
  {
     *Name: ""
  }

*Option: Inet_SID_279_BID_514_HID_280                 *%"Order supplies":"Online shopping of supplies for your HP printer."
  {
     *Name: ""
  }  
  
}

*%------------------------------------------------------------------------
*% Feature: AccessoryOutputBins : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: AccessoryOutputBins
{
    *rcNameID: =IDS_ACCESSORY_OUTPUT_BIN
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_ACCESSORY_OUTPUT_BIN_EC5
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_NOTINSTALLED
        *DisabledFeatures: LIST(Stapling)
    }
    
    *Option: MBM3Mailbox
    {
        *%Name: "HP 3-Bin Mailbox - Mailbox Mode"
        *rcNameID: =IDS_3_BIN_MAILBOX_MAILBOX_MODE
    }
    *Option: MBM3Stacker
    {
        *%Name: "HP 3-Bin Mailbox - Stacker Mode"
        *rcNameID: =IDS_3_BIN_MAILBOX_STACKER_MODE
    }
*Option: MBM3FunctionSeparator
    {
        *%Name: "HP 3-Bin Mailbox-Function Separator"
        *rcNameID: =IDS_3_BIN_MAILBOX_SEPARATOR_MODE
    }
    
    *Option: BookletMakerStackerStapler
	{
		*%rcNameID: =IDS_HP_BOOKLET_MAK_STAK
        *Name: "HP Booklet Maker- Stacker Mode"
	}
	*Option: BookletMakerMailboxStapler
	{
		*%rcNameID: =IDS_HP_BOOKLET_MAK_MAIL
        *Name: "HP Booklet Maker - Mailbox Mode"
	}
    *Option: 3000Stacker
    {
        *%Name: "HP 3000-Sheet Stacker"
        *rcNameID: =IDS_HP_3000_SHEET_STACKER
        *DisabledFeatures: LIST(Stapling)
    }
     *Option: 3000Stapler
    {
        *%Name: "HP 3000-Sheet Stapler/Stacker"
        *rcNameID: =IDS_HP_3000_SHEET_STAPLERSTACKER
    }
    *Option: MultiFunctionFinisher
    {
        *%Name: "HP Multifunction Finisher"
        *rcNameID: =IDS_MULTIFN_FINISHER
    }
    *Option: MBM8Mailbox
    {
        *rcNameID: =IDS_8_BIN_MAILBOX_MAILBOX_MODE
        *%Name: "8-Bin Mailbox - Mailbox Mode"
        *DisabledFeatures: LIST(Stapling)
    }
    *Option: MBM8Stacker
    {
        *%Name: "8-Bin Mailbox - Stacker Mode"
        *rcNameID: =IDS_8_BIN_MAILBOX_STACKER_MODE
    }
    *Option: MBM8JobSeparator
    {
        *%Name: "8-Bin Mailbox - Job Separator Mode"
        *rcNameID: =IDS_8_BIN_MAILBOX_JOBSEPARATOR_MODE
    }
    *Option: MBM8Sorter
    {
        *%Name: "8-Bin Mailbox - Sorter/Collator Mode"
        *rcNameID: =IDS_8_BIN_MAILBOX_COLLATOR_MODE
    }
    *Option: 3BinStaplerMailbox
	{
		*%rcNameID: =IDS_HP_3_BIN_STAPLER_MAILBOX
        *Name: "HP 3-Bin Stapler/Stacker - Mailbox Mode"
	}
	*Option: 3BinStaplerStacker
	{
		*%rcNameID: =IDS_HP_3_BIN_STAPLER_STACKER
        *Name: "HP 3-Bin Stapler/Stacker - Stacker Mode"
	}
	*Option: 500Stapler
    {
        *rcNameID: =IDS_500_STAPLER_STACKER
        *%Name: "HP 500-Sheet Stapler/Stacker"
    }
	
}


*%-------------------------------------------------------------------------
*% Constraints section
*%-------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*% Commands section
*%-------------------------------------------------------------------------

*Command: CmdStartJob
{
    *Order: JOB_SETUP.1
    *Cmd: =PJL_STARTJOB =PJL_COMMENT 
}

*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
}

*%-------------------------------------------------------------------------
*%  Cursor commands
*%-------------------------------------------------------------------------
*Command: CmdCR { *Cmd: "" }
*Command: CmdLF { *Cmd: "" }
*Command: CmdFF { *Cmd: "" }
*Command: CmdXMoveAbsolute
{
    *Cmd: ""
}
*Command: CmdXMoveRelRight
{
    *Cmd: ""
    *Params: LIST(DestXRel, TextXRes)
}
*Command: CmdXMoveRelLeft
{
    *Cmd: ""
    *Params: LIST(DestXRel, TextXRes)
}
*Command: CmdYMoveAbsolute
{
    *Cmd: ""
    *Params: LIST(DestY, TextYRes)
}
*Command: CmdYMoveRelDown
{
    *Cmd: ""
    *Params: LIST(DestYRel, TextYRes)
}
*Command: CmdYMoveRelUp
{
    *Cmd: ""
    *Params: LIST(DestYRel, TextYRes)
}

*%-------------------------------------------------------------------------
*% Font commands
*%-------------------------------------------------------------------------
*Command: CmdSetFontID
{
    *Cmd : ""
}
*Command: CmdSelectFontID
{
    *Cmd: ""
    *Params: LIST(FontHeight, CurrentFontID, TextYRes)
}
*Command: CmdSetCharCode
{
    *Cmd : ""
}
*Command: CmdBoldOn
{
    *Cmd : ""
}
*Command: CmdBoldOff
{
    *Cmd : ""
}
*Command: CmdSetAnyRotation
{
    *Cmd: ""
    *Params: LIST(PrintDirInCCDegrees)
}
*Command: CmdSetSimpleRotation
{
    *Cmd: ""
    *Params: LIST(PrintDirInCCDegrees)
}

*%Commenting this feature as is causing printer installation issues.Need to revisit.
*%Command: CmdEnableDRC " "  *%  Add this if your product supports DRC and if the protocol is greater than 2.1

*% Q105 Laser - LSG00141506
*% LSG00141506 "PCL XL ERROR; Subsystem: IMAGE; Error: ExtraData; Operator: ReadImage; Postistion: 57 error -  Power Point document"
*% Uncommenting this section & adding CmdEnableDRC which was the root cause of the defect LSG00141506




*%-------------------------------------------------------------------------
*% Render standard keywords section
*%-------------------------------------------------------------------------

*CharPosition: BASELINE     *% character positioning keyword must be present even if device font are not present
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*EjectPageWithFF?: FALSE
*TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 1200
*YMoveUnit: 1200
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
